export const renderCategory = (category: string) => {
  switch (category) {
    case "CMNet":
      return "blue";
    case "IP专网":
      return "orange";
    case "云专网":
      return "indigo";
    default:
      return "gray";
  }
};

export const renderLayer = (layer: string) => {
  switch (layer) {
    case "骨干网":
      return "red";
    case "省网":
      return "teal";
    default:
      return "gray";
  }
};
